//
//  YDHTextView.h
//  Ashton
//
//  Created by pengpeng on 2023/6/17.
//  Copyright © 2023 Falcon Automation. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YDHTextView : UIView

@property (nonatomic, strong) NSString *text;

@property (nonatomic, strong) UITextView *palceholdertextView;

///提示文字
@property (nonatomic, strong) NSString *placeholderGlobal;
@property (nonatomic, strong) UIColor *placeholderColorGlobal;

///是否点击返回失去响应
@property (nonatomic, assign) BOOL isReturnHidden;
///是否显示计算个数的Label
@property (nonatomic, assign) BOOL isShowCountLabel;
///限制输入个数   默认为999999，不限制输入
@property (nonatomic, assign) NSInteger limitWords;

- (instancetype)initWithFrame:(CGRect)frame
                  placeholder:(NSString *)placeholder
             placeholderColor:(UIColor *)placeholderColor;
@end

NS_ASSUME_NONNULL_END
